
/**
 * 
 */
import uiPanel from "./../lib/UiPanel";
const { ccclass, property } = cc._decorator;

@ccclass
export default class WXAlert extends uiPanel {



	onLoad() {

	}
	onEnable() {


	}
	onDisable() {

	}
	onDestroy() {

	}

	init() {

	}

	onClickCancle() {
		this.close();
	}

	onClickSure() {
		cc.vv.eventCustom.emit("WXSure");
		this.close();
	}

	close() {
		cc.vv.UIMgr.close(cc.vv.GLConfig.WXAlert_path, cc.vv.UIMgr.closeType.destory);
	}




}
